package com.Algorithm.Study.map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/10/26/8:43
 * @Description:
 * @Target:
 */
public class Edge {  // 有向边
    public int weight; // 常见的表达是距离,权重
    public Node from; // 编号依据
    public Node to; // 编号依据

    public Edge(int weight, Node from, Node to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
